package com.hahaboy.dao;

import com.hahaboy.entity.Book;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BookDao {
    /**
     * @Description
     * @Date 2021/1/28 14:10
     * @Param
     * @return book集合
    */
    List<Book> findAll();

    public void updatePriceById(@Param(value = "id") int id, @Param("price") int price);

    public Book findById(int id);
}
